/**
 * @file status_light.c
 * @author your name (you@domain.com)
 * @brief 状态灯
 * @version 0.1
 * @date 2024-04-10
 * 
 * @copyright Copyright (c) 2024
 * 
 */

#include "main.h"
#include "status_light.h"

void SL_set_status(uint8_t status)
{
    if(status & 0x01)
    {
        pin_set(0);
    }
    else
    {
        pin_reset(0);
    }

    
    if(status & 0x02)
    {
        pin_set(1);
    }
    else
    {
        pin_reset(1);
    }
}
